home *** CD-ROM | disk | FTP | other *** search
/ Drumbeat 2000 / drumbeat 2000.iso / contracts / filescripting / filescriptingv10_30.ctr next >
Unknown  |  1999-03-16  |  8.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert ChemDraw Template (other/chemDrawTemplate) ext Unsupported
100% file data default
100% TrID TERSE compressed data (PACK, U) default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 02 00 00 00 00 00 02 00 | ff ff 00 00 0a 00 78 78 |........|......xx|
|00000010| 43 6f 6e 74 72 61 63 74 | 12 00 00 00 00 01 00 00 |Contract|........|
|00000020| 00 2c 52 65 70 6c 61 63 | 65 20 5b 74 6f 6b 65 6e |.,Replac|e [token|
|00000030| 5d 20 77 69 74 68 20 66 | 69 6c 65 20 6c 61 73 74 |] with f|ile last|
|00000040| 20 6d 6f 64 69 66 69 65 | 64 20 64 61 74 65 01 00 | modifie|d date..|
|00000050| ff ff 00 00 15 00 78 78 | 43 6f 6e 74 72 61 63 74 |......xx|Contract|
|00000060| 50 61 72 74 69 63 69 70 | 61 6e 74 01 00 00 00 06 |Particip|ant.....|
|00000070| 74 61 72 67 65 74 02 00 | ff ff 00 00 15 00 78 78 |target..|......xx|
|00000080| 43 6f 6e 74 72 61 63 74 | 52 65 71 75 69 72 65 6d |Contract|Requirem|
|00000090| 65 6e 74 03 00 00 00 00 | 00 00 00 0c 53 65 72 76 |ent.....|....Serv|
|000000a0| 65 72 28 68 74 6d 6c 29 | 05 80 03 00 00 00 02 00 |er(html)|........|
|000000b0| 00 00 09 74 65 78 74 53 | 74 79 6c 65 01 00 ff ff |...textS|tyle....|
|000000c0| 00 00 10 00 78 78 43 6f | 6e 74 72 61 63 74 41 63 |....xxCo|ntractAc|
|000000d0| 74 69 6f 6e 04 00 00 00 | 0c 53 65 72 76 65 72 28 |tion....|.Server(|
|000000e0| 68 74 6d 6c 29 02 00 00 | 00 00 00 00 00 ff 3b 01 |html)...|......;.|
|000000f0| 66 73 6f 20 3d 20 6e 65 | 77 20 41 63 74 69 76 65 |fso = ne|w Active|
|00000100| 58 4f 62 6a 65 63 74 28 | 22 53 63 72 69 70 74 69 |XObject(|"Scripti|
|00000110| 6e 67 2e 46 69 6c 65 53 | 79 73 74 65 6d 4f 62 6a |ng.FileS|ystemObj|
|00000120| 65 63 74 22 29 3b 0d 0a | 76 61 72 20 66 69 6c 65 |ect");..|var file|
|00000130| 6e 61 6d 65 20 3d 20 5b | 46 69 6c 65 4e 61 6d 65 |name = [|FileName|
|00000140| 5d 3b 0d 0a 76 61 72 20 | 73 20 3d 20 22 22 3b 0d |];..var |s = "";.|
|00000150| 0a 69 66 20 28 66 73 6f | 2e 46 69 6c 65 45 78 69 |.if (fso|.FileExi|
|00000160| 73 74 73 28 66 69 6c 65 | 6e 61 6d 65 29 29 0d 0a |sts(file|name))..|
|00000170| 7b 0d 0a 20 20 20 20 66 | 6f 20 3d 20 66 73 6f 2e |{.. f|o = fso.|
|00000180| 47 65 74 46 69 6c 65 28 | 66 69 6c 65 6e 61 6d 65 |GetFile(|filename|
|00000190| 29 3b 0d 0a 20 20 20 20 | 73 20 3d 20 66 6f 2e 44 |);.. |s = fo.D|
|000001a0| 61 74 65 4c 61 73 74 4d | 6f 64 69 66 69 65 64 3b |ateLastM|odified;|
|000001b0| 0d 0a 7d 0d 0a 65 6c 73 | 65 0d 0a 7b 0d 0a 20 20 |..}..els|e..{.. |
|000001c0| 20 20 73 20 3d 20 22 46 | 69 6c 65 20 44 6f 65 73 | s = "F|ile Does|
|000001d0| 20 4e 6f 74 20 45 78 69 | 73 74 22 3b 0d 0a 7d 0d | Not Exi|st";..}.|
|000001e0| 0a 0d 0a 68 20 3d 20 68 | 74 6d 6c 2e 73 70 6c 69 |...h = h|tml.spli|
|000001f0| 74 28 5b 74 6f 6b 65 6e | 5d 29 3b 0d 0a 68 74 6d |t([token|]);..htm|
|00000200| 6c 20 3d 20 68 5b 30 5d | 20 2b 20 73 20 2b 20 68 |l = h[0]| + s + h|
|00000210| 5b 31 5d 3b 0d 0a 52 65 | 73 70 6f 6e 73 65 2e 57 |[1];..Re|sponse.W|
|00000220| 72 69 74 65 28 68 74 6d | 6c 29 3b 01 00 00 00 ff |rite(htm|l);.....|
|00000230| 31 01 53 65 74 20 66 73 | 6f 20 3d 20 43 72 65 61 |1.Set fs|o = Crea|
|00000240| 74 65 4f 62 6a 65 63 74 | 28 22 53 63 72 69 70 74 |teObject|("Script|
|00000250| 69 6e 67 2e 46 69 6c 65 | 53 79 73 74 65 6d 4f 62 |ing.File|SystemOb|
|00000260| 6a 65 63 74 22 29 0d 0a | 66 69 6c 65 6e 61 6d 65 |ject")..|filename|
|00000270| 20 3d 20 5b 46 69 6c 65 | 4e 61 6d 65 5d 0d 0a 73 | = [File|Name]..s|
|00000280| 20 3d 20 22 22 0d 0a 69 | 66 20 66 73 6f 2e 46 69 | = ""..i|f fso.Fi|
|00000290| 6c 65 45 78 69 73 74 73 | 28 66 69 6c 65 6e 61 6d |leExists|(filenam|
|000002a0| 65 29 20 74 68 65 6e 0d | 0a 20 20 20 20 53 65 74 |e) then.|. Set|
|000002b0| 20 66 6f 20 3d 20 66 73 | 6f 2e 47 65 74 46 69 6c | fo = fs|o.GetFil|
|000002c0| 65 28 66 69 6c 65 6e 61 | 6d 65 29 0d 0a 20 20 20 |e(filena|me).. |
|000002d0| 20 73 20 3d 20 66 6f 2e | 44 61 74 65 4c 61 73 74 | s = fo.|DateLast|
|000002e0| 4d 6f 64 69 66 69 65 64 | 0d 0a 65 6c 73 65 0d 0a |Modified|..else..|
|000002f0| 20 20 20 20 73 20 3d 20 | 22 46 69 6c 65 20 44 6f | s = |"File Do|
|00000300| 65 73 20 4e 6f 74 20 45 | 78 69 73 74 22 0d 0a 65 |es Not E|xist"..e|
|00000310| 6e 64 20 69 66 0d 0a 0d | 0a 68 20 3d 20 53 70 6c |nd if...|.h = Spl|
|00000320| 69 74 28 68 74 6d 6c 2c | 5b 74 6f 6b 65 6e 5d 2c |it(html,|[token],|
|00000330| 2d 31 2c 31 29 0d 0a 68 | 74 6d 6c 20 3d 20 68 28 |-1,1)..h|tml = h(|
|00000340| 30 29 20 26 20 73 20 26 | 20 68 28 31 29 0d 0a 52 |0) & s &| h(1)..R|
|00000350| 65 73 70 6f 6e 73 65 2e | 57 72 69 74 65 28 68 74 |esponse.|Write(ht|
|00000360| 6d 6c 29 02 00 ff ff 00 | 00 0d 00 78 78 53 63 72 |ml).....|...xxScr|
|00000370| 69 70 74 50 61 72 61 6d | 05 00 00 00 08 46 69 6c |iptParam|.....Fil|
|00000380| 65 4e 61 6d 65 00 00 00 | 00 08 00 46 00 00 00 43 |eName...|...F...C|
|00000390| 00 3a 00 5c 00 5c 00 49 | 00 4e 00 65 00 74 00 50 |.:.\.\.I|.N.e.t.P|
|000003a0| 00 75 00 62 00 5c 00 5c | 00 77 00 77 00 77 00 72 |.u.b.\.\|.w.w.w.r|
|000003b0| 00 6f 00 6f 00 74 00 5c | 00 5c 00 70 00 6f 00 73 |.o.o.t.\|.\.p.o.s|
|000003c0| 00 74 00 69 00 6e 00 66 | 00 6f 00 2e 00 68 00 74 |.t.i.n.f|.o...h.t|
|000003d0| 00 6d 00 6c 00 00 00 00 | 00 00 00 00 00 00 00 00 |.m.l....|........|
|000003e0| 0a 80 05 00 00 00 05 74 | 6f 6b 65 6e 00 00 00 00 |.......t|oken....|
|000003f0| 08 00 0e 00 00 00 5b 00 | 74 00 6f 00 6b 00 65 00 |......[.|t.o.k.e.|
|00000400| 6e 00 5d 00 00 00 00 00 | 00 00 00 00 00 00 00 0e |n.].....|........|
|00000410| 46 69 6c 65 20 53 63 72 | 69 70 74 69 6e 67 00 00 |File Scr|ipting..|
|00000420| 00 00 00 00 04 00 00 00 | 01 00 00 00 02 00 08 80 |........|........|
|00000430| 04 00 00 00 06 53 65 72 | 76 65 72 01 00 00 00 00 |.....Ser|ver.....|
|00000440| 00 00 00 00 08 80 04 00 | 00 00 06 6f 6e 42 6c 75 |........|...onBlu|
|00000450| 72 00 00 00 00 e6 ec 6d | da a1 2c d2 11 90 a3 00 |r......m|..,.....|
|00000460| 60 08 8f 47 c4 01 00 00 | 00 24 33 37 37 41 43 34 |`..G....|.$377AC4|
|00000470| 33 30 2d 36 32 31 31 2d | 31 31 44 32 2d 38 31 31 |30-6211-|11D2-811|
|00000480| 37 2d 30 30 36 30 30 38 | 43 38 36 43 32 35 03 33 |7-006008|C86C25.3|
|00000490| 2e 30 ff 70 02 44 65 73 | 63 72 69 70 74 69 6f 6e |.0.p.Des|cription|
|000004a0| 3a 0d 0a 54 68 69 73 20 | 63 6f 6e 74 72 61 63 74 |:..This |contract|
|000004b0| 20 77 69 6c 6c 20 69 6e | 73 65 72 74 20 74 68 65 | will in|sert the|
|000004c0| 20 6c 61 73 74 20 6d 6f | 64 69 66 69 65 64 20 64 | last mo|dified d|
|000004d0| 61 74 65 20 6f 66 20 61 | 20 66 69 6c 65 20 69 6e |ate of a| file in|
|000004e0| 74 6f 20 61 20 74 65 78 | 74 20 65 6c 65 6d 65 6e |to a tex|t elemen|
|000004f0| 74 2e 20 54 68 65 20 74 | 65 78 74 20 65 6c 65 6d |t. The t|ext elem|
|00000500| 65 6e 74 20 6d 75 73 74 | 20 63 6f 6e 74 61 69 6e |ent must| contain|
|00000510| 20 61 20 74 6f 6b 65 6e | 20 74 6f 20 62 65 20 72 | a token| to be r|
|00000520| 65 70 6c 61 63 65 64 20 | 62 79 20 74 68 69 73 20 |eplaced |by this |
|00000530| 64 61 74 65 20 2f 20 74 | 69 6d 65 20 76 61 6c 75 |date / t|ime valu|
|00000540| 65 2e 0d 0a 0d 0a 50 61 | 72 61 6d 65 74 65 72 73 |e.....Pa|rameters|
|00000550| 3a 0d 0a 46 69 6c 65 4e | 61 6d 65 20 2d 20 54 68 |:..FileN|ame - Th|
|00000560| 65 20 61 62 73 6f 6c 75 | 74 65 20 70 61 74 68 20 |e absolu|te path |
|00000570| 74 6f 20 61 20 66 69 6c | 65 20 6f 6e 20 74 68 65 |to a fil|e on the|
|00000580| 20 73 65 72 76 65 72 20 | 69 6e 20 74 68 65 20 73 | server |in the s|
|00000590| 65 72 76 65 72 73 20 64 | 69 72 65 63 74 6f 72 79 |ervers d|irectory|
|000005a0| 20 73 74 72 75 63 74 75 | 72 65 20 28 6e 6f 74 20 | structu|re (not |
|000005b0| 74 68 65 20 73 69 74 65 | 73 20 76 69 72 74 75 61 |the site|s virtua|
|000005c0| 6c 20 64 69 72 65 63 74 | 6f 72 79 20 73 74 72 75 |l direct|ory stru|
|000005d0| 63 74 75 72 65 29 2e 0d | 0a 0d 0a 74 6f 6b 65 6e |cture)..|...token|
|000005e0| 20 2d 20 54 68 65 20 73 | 74 72 69 6e 67 20 76 61 | - The s|tring va|
|000005f0| 6c 75 65 20 69 6e 20 74 | 68 65 20 74 65 78 74 20 |lue in t|he text |
|00000600| 65 6c 65 6d 65 6e 74 20 | 74 6f 20 72 65 70 6c 61 |element |to repla|
|00000610| 63 65 20 77 69 74 68 20 | 74 68 65 20 64 61 74 65 |ce with |the date|
|00000620| 20 74 69 6d 65 20 76 61 | 6c 75 65 2e 0d 0a 0d 0a | time va|lue.....|
|00000630| 54 79 70 69 63 61 6c 20 | 50 61 72 74 69 63 69 70 |Typical |Particip|
|00000640| 61 6e 74 73 3a 0d 0a 5b | 54 61 72 67 65 74 5d 20 |ants:..[|Target] |
|00000650| 2d 20 54 65 78 74 20 0d | 0a 0d 0a 46 6f 72 20 6d |- Text .|...For m|
|00000660| 6f 72 65 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |ore info|rmation |
|00000670| 6f 6e 20 63 6f 6e 74 72 | 61 63 74 73 20 6f 66 20 |on contr|acts of |
|00000680| 74 68 69 73 20 63 61 74 | 65 67 6f 72 79 2c 20 70 |this cat|egory, p|
|00000690| 6c 65 61 73 65 20 72 65 | 66 65 72 20 74 6f 0d 0a |lease re|fer to..|
|000006a0| 46 69 6c 65 53 63 72 69 | 70 74 69 6e 67 2e 64 6f |FileScri|pting.do|
|000006b0| 63 0d 0a 54 68 69 73 20 | 66 69 6c 65 20 69 73 20 |c..This |file is |
|000006c0| 61 76 61 69 6c 61 62 6c | 65 20 69 6e 20 74 68 65 |availabl|e in the|
|000006d0| 20 43 6f 6e 74 72 61 63 | 74 73 20 66 6f 6c 64 65 | Contrac|ts folde|
|000006e0| 72 20 69 6e 20 74 68 65 | 20 44 72 75 6d 62 65 61 |r in the| Drumbea|
|000006f0| 74 20 64 69 72 65 63 74 | 6f 72 79 2e 0d 0a 56 31 |t direct|ory...V1|
|00000700| 30 5f 33 30 2e 01 80 12 | 00 00 00 00 01 00 00 00 |0_30....|........|
|00000710| 26 52 65 70 6c 61 63 65 | 20 5b 74 6f 6b 65 6e 5d |&Replace| [token]|
|00000720| 20 77 69 74 68 20 44 69 | 72 65 63 74 6f 72 79 20 | with Di|rectory |
|00000730| 6c 69 73 74 69 6e 67 01 | 00 03 80 01 00 00 00 06 |listing.|........|
|00000740| 74 61 72 67 65 74 02 00 | 05 80 03 00 00 00 00 00 |target..|........|
|00000750| 00 00 0c 53 65 72 76 65 | 72 28 68 74 6d 6c 29 05 |...Serve|r(html).|
|00000760| 80 03 00 00 00 02 00 00 | 00 09 74 65 78 74 53 74 |........|..textSt|
|00000770| 79 6c 65 01 00 08 80 04 | 00 00 00 0c 53 65 72 76 |yle.....|....Serv|
|00000780| 65 72 28 68 74 6d 6c 29 | 02 00 00 00 00 00 00 00 |er(html)|........|
|00000790| 7c 76 61 72 20 68 69 74 | 6d 65 73 73 61 67 65 20 ||var hit|message |
|000007a0| 3d 20 68 74 6d 6c 2e 73 | 70 6c 69 74 28 5b 74 6f |= html.s|plit([to|
|000007b0| 6b 65 6e 5d 29 3b 0d 0a | 68 74 6d 6c 20 3d 20 68 |ken]);..|html = h|
|000007c0| 69 74 6d 65 73 73 61 67 | 65 5b 30 5d 2b 53 65 73 |itmessag|e[0]+Ses|
|000007d0| 73 69 6f 6e 28 22 44 69 | 72 65 63 74 6f 72 79 4c |sion("Di|rectoryL|
|000007e0| 69 73 74 69 6e 67 22 29 | 2b 68 69 74 6d 65 73 73 |isting")|+hitmess|
|000007f0| 61 67 65 5b 31 5d 3b 0d | 0a 52 65 73 70 6f 6e 73 |age[1];.|.Respons|
|00000800| 65 2e 57 72 69 74 65 28 | 68 74 6d 6c 29 01 00 00 |e.Write(|html)...|
|00000810| 00 7f 68 69 74 6d 65 73 | 73 61 67 65 20 3d 20 53 |..hitmes|sage = S|
|00000820| 70 6c 69 74 28 68 74 6d | 6c 2c 5b 74 6f 6b 65 6e |plit(htm|l,[token|
|00000830| 5d 2c 2d 31 2c 31 29 0d | 0a 72 65 73 70 20 3d 20 |],-1,1).|.resp = |
|00000840| 68 69 74 6d 65 73 73 61 | 67 65 28 30 29 20 26 20 |hitmessa|ge(0) & |
|00000850| 53 65 73 73 69 6f 6e 28 | 22 44 69 72 65 63 74 6f |Session(|"Directo|
|00000860| 72 79 4c 69 73 74 69 6e | 67 22 29 20 26 20 68 69 |ryListin|g") & hi|
|00000870| 74 6d 65 73 73 61 67 65 | 28 31 29 0d 0a 52 65 73 |tmessage|(1)..Res|
|00000880| 70 6f 6e 73 65 2e 57 72 | 69 74 65 28 72 65 73 70 |ponse.Wr|ite(resp|
|00000890| 29 03 00 0a 80 05 00 00 | 00 09 6c 6f 63 61 6c 70 |).......|..localp|
|000008a0| 61 74 68 00 00 00 00 08 | 00 30 00 00 00 63 00 3a |ath.....|.0...c.:|
|000008b0| 00 5c 00 69 00 6e 00 65 | 00 74 00 70 00 75 00 62 |.\.i.n.e|.t.p.u.b|
|000008c0| 00 5c 00 77 00 77 00 77 | 00 72 00 6f 00 6f 00 74 |.\.w.w.w|.r.o.o.t|
|000008d0| 00 5c 00 74 00 65 00 73 | 00 74 00 31 00 00 00 00 |.\.t.e.s|.t.1....|
|000008e0| 00 00 00 00 00 00 00 00 | 0a 80 05 00 00 00 0b 76 |........|.......v|
|000008f0| 69 72 74 75 61 6c 70 61 | 74 68 00 00 00 00 08 00 |irtualpa|th......|
|00000900| 0c 00 00 00 2f 00 74 00 | 65 00 73 00 74 00 31 00 |..../.t.|e.s.t.1.|
|00000910| 00 00 00 00 00 00 00 00 | 00 00 00 0a 80 05 00 00 |........|........|
|00000920| 00 05 74 6f 6b 65 6e 00 | 00 00 00 08 00 0e 00 00 |..token.|........|
|00000930| 00 5b 00 74 00 6f 00 6b | 00 65 00 6e 00 5d 00 00 |.[.t.o.k|.e.n.]..|
|00000940| 00 00 00 00 00 00 00 00 | 00 00 0e 46 69 6c 65 20 |........|...File |
|00000950| 53 63 72 69 70 74 69 6e | 67 00 00 00 00 00 00 04 |Scriptin|g.......|
|00000960| 00 00 00 01 00 00 00 04 | 00 08 80 04 00 00 00 08 |........|........|
|00000970| 6f 6e 55 6e 4c 6f 61 64 | 01 00 00 00 00 00 00 00 |onUnLoad|........|
|00000980| 00 08 80 04 00 00 00 06 | 53 65 72 76 65 72 02 00 |........|Server..|
|00000990| 00 00 00 00 00 00 ff 9a | 0a 25 3e 0d 0a 20 20 0d |........|.%>.. .|
|000009a0| 0a 3c 73 63 72 69 70 74 | 20 6c 61 6e 67 75 61 67 |.<script| languag|
|000009b0| 65 3d 76 62 73 63 72 69 | 70 74 20 72 75 6e 61 74 |e=vbscri|pt runat|
|000009c0| 3d 73 65 72 76 65 72 3e | 0d 0a 0d 0a 44 69 72 65 |=server>|....Dire|
|000009d0| 63 74 6f 72 79 4c 69 73 | 74 69 6e 67 20 3d 20 28 |ctoryLis|ting = (|
|000009e0| 22 22 29 20 0d 0a 50 52 | 49 56 41 54 45 20 73 75 |"") ..PR|IVATE su|
|000009f0| 62 20 69 6e 74 6f 46 6f | 6c 64 28 6e 65 77 66 6f |b intoFo|ld(newfo|
|00000a00| 6c 64 2c 76 69 72 74 75 | 61 6c 29 0d 0a 0d 0a 20 |ld,virtu|al).... |
|00000a10| 27 4f 6e 20 45 72 72 6f | 72 20 52 65 73 75 6d 65 |'On Erro|r Resume|
|00000a20| 20 4e 65 78 74 0d 0a 20 | 73 65 74 20 66 6f 6c 64 | Next.. |set fold|
|00000a30| 20 3d 20 66 69 6c 65 53 | 59 53 4f 62 6a 2e 47 65 | = fileS|YSObj.Ge|
|00000a40| 74 46 6f 6c 64 65 72 28 | 6e 65 77 66 6f 6c 64 29 |tFolder(|newfold)|
|00000a50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000a60| 20 20 20 20 20 20 20 0d | 0a 20 27 47 65 74 20 74 | .|. 'Get t|
|00000a70| 68 65 20 66 6f 6c 64 65 | 72 20 6f 62 6a 65 63 74 |he folde|r object|
|00000a80| 0d 0a 20 44 69 72 65 63 | 74 6f 72 79 4c 69 73 74 |.. Direc|toryList|
|00000a90| 69 6e 67 20 3d 20 44 69 | 72 65 63 74 6f 72 79 4c |ing = Di|rectoryL|
|00000aa0| 69 73 74 69 6e 67 20 26 | 20 22 3c 74 61 62 6c 65 |isting &| "<table|
|00000ab0| 20 62 6f 72 64 65 72 3d | 30 20 43 45 4c 4c 53 50 | border=|0 CELLSP|
|00000ac0| 41 43 49 4e 47 3d 30 20 | 77 69 64 74 68 3d 22 20 |ACING=0 |width=" |
|00000ad0| 26 20 63 68 72 28 33 34 | 29 20 26 20 22 31 30 30 |& chr(34|) & "100|
|00000ae0| 25 22 20 26 20 63 68 72 | 28 33 34 29 20 26 20 20 |%" & chr|(34) & |
|00000af0| 22 20 53 54 59 4c 45 3d | 22 20 26 20 63 68 72 28 |" STYLE=|" & chr(|
|00000b00| 33 34 29 20 26 20 22 66 | 6f 6e 74 2d 66 61 6d 69 |34) & "f|ont-fami|
|00000b10| 6c 79 3a 20 56 65 72 64 | 61 6e 61 2c 20 41 72 69 |ly: Verd|ana, Ari|
|00000b20| 61 6c 3b 20 66 6f 6e 74 | 2d 73 69 7a 65 3d 78 2d |al; font|-size=x-|
|00000b30| 73 6d 61 6c 6c 22 20 26 | 20 63 68 72 28 33 34 29 |small" &| chr(34)|
|00000b40| 20 26 20 22 20 3e 22 20 | 26 20 76 62 43 72 4c 66 | & " >" |& vbCrLf|
|00000b50| 0d 0a 0d 0a 20 53 65 74 | 20 66 6f 6c 64 43 6f 6c |.... Set| foldCol|
|00000b60| 32 20 3d 20 66 6f 6c 64 | 2e 46 69 6c 65 73 20 20 |2 = fold|.Files |
|00000b70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000b80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000b90| 20 20 20 20 0d 0a 20 27 | 43 72 65 61 74 65 20 61 | .. '|Create a|
|00000ba0| 20 46 69 6c 65 73 20 63 | 6f 6c 6c 65 63 74 69 6f | Files c|ollectio|
|00000bb0| 6e 0d 0a 20 46 6f 72 20 | 45 61 63 68 20 59 20 69 |n.. For |Each Y i|
|00000bc0| 6e 20 66 6f 6c 64 43 6f | 6c 32 20 20 20 20 20 20 |n foldCo|l2 |
|00000bd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000be0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000bf0| 20 20 20 0d 0a 20 27 49 | 74 65 72 61 74 65 20 74 | .. 'I|terate t|
|00000c00| 68 72 6f 75 67 68 20 69 | 74 0d 0a 20 20 44 69 72 |hrough i|t.. Dir|
|00000c10| 65 63 74 6f 72 79 4c 69 | 73 74 69 6e 67 20 3d 20 |ectoryLi|sting = |
|00000c20| 44 69 72 65 63 74 6f 72 | 79 4c 69 73 74 69 6e 67 |Director|yListing|
|00000c30| 20 26 20 22 3c 74 72 3e | 22 20 20 26 20 76 62 43 | & "<tr>|" & vbC|
|00000c40| 72 4c 66 0d 0a 20 20 44 | 69 72 65 63 74 6f 72 79 |rLf.. D|irectory|
|00000c50| 4c 69 73 74 69 6e 67 20 | 3d 20 44 69 72 65 63 74 |Listing |= Direct|
|00000c60| 6f 72 79 4c 69 73 74 69 | 6e 67 20 26 20 22 3c 74 |oryListi|ng & "<t|
|00000c70| 64 20 77 69 64 74 68 3d | 22 20 26 20 63 68 72 28 |d width=|" & chr(|
|00000c80| 33 34 29 20 26 20 22 31 | 35 25 22 20 26 20 63 68 |34) & "1|5%" & ch|
|00000c90| 72 28 33 34 29 20 26 20 | 22 3e 3c 2f 74 64 3e 22 |r(34) & |"></td>"|
|00000ca0| 20 26 20 76 62 43 72 4c | 66 0d 0a 20 20 44 69 72 | & vbCrL|f.. Dir|
|00000cb0| 65 63 74 6f 72 79 4c 69 | 73 74 69 6e 67 20 3d 20 |ectoryLi|sting = |
|00000cc0| 44 69 72 65 63 74 6f 72 | 79 4c 69 73 74 69 6e 67 |Director|yListing|
|00000cd0| 20 26 20 22 3c 74 64 20 | 77 69 64 74 68 3d 22 20 | & "<td |width=" |
|00000ce0| 26 20 63 68 72 28 33 34 | 29 20 26 20 22 34 35 25 |& chr(34|) & "45%|
|00000cf0| 22 20 26 20 63 68 72 28 | 33 34 29 20 26 20 22 20 |" & chr(|34) & " |
|00000d00| 3e 3c 41 20 48 52 45 46 | 3d 22 20 26 20 63 68 72 |><A HREF|=" & chr|
|00000d10| 28 33 34 29 20 26 20 20 | 76 69 72 74 75 61 6c 20 |(34) & |virtual |
|00000d20| 26 20 59 2e 4e 61 6d 65 | 20 26 20 63 68 72 28 33 |& Y.Name| & chr(3|
|00000d30| 34 29 20 26 20 22 3e 22 | 20 26 20 59 2e 4e 61 6d |4) & ">"| & Y.Nam|
|00000d40| 65 20 26 20 22 3c 2f 61 | 3e 20 3c 2f 74 64 3e 22 |e & "</a|> </td>"|
|00000d50| 20 26 20 76 62 43 72 4c | 66 20 20 20 20 20 20 20 | & vbCrL|f |
|00000d60| 20 20 20 0d 0a 20 20 27 | 50 72 69 6e 74 20 74 68 | .. '|Print th|
|00000d70| 65 20 66 69 6c 65 73 20 | 6e 61 6d 65 0d 0a 20 20 |e files |name.. |
|00000d80| 44 69 72 65 63 74 6f 72 | 79 4c 69 73 74 69 6e 67 |Director|yListing|
|00000d90| 20 3d 20 44 69 72 65 63 | 74 6f 72 79 4c 69 73 74 | = Direc|toryList|
|00000da0| 69 6e 67 20 26 20 22 3c | 74 64 20 77 69 64 74 68 |ing & "<|td width|
|00000db0| 3d 22 20 26 20 63 68 72 | 28 33 34 29 20 26 20 22 |=" & chr|(34) & "|
|00000dc0| 34 30 25 22 20 26 20 63 | 68 72 28 33 34 29 20 26 |40%" & c|hr(34) &|
|00000dd0| 20 22 20 53 54 59 4c 45 | 3d 22 20 26 20 63 68 72 | " STYLE|=" & chr|
|00000de0| 28 33 34 29 20 26 20 22 | 66 6f 6e 74 2d 66 61 6d |(34) & "|font-fam|
|00000df0| 69 6c 79 3a 20 56 65 72 | 64 61 6e 61 2c 20 41 72 |ily: Ver|dana, Ar|
|00000e00| 69 61 6c 3b 20 66 6f 6e | 74 2d 73 69 7a 65 3d 78 |ial; fon|t-size=x|
|00000e10| 78 2d 73 6d 61 6c 6c 22 | 20 26 20 63 68 72 28 33 |x-small"| & chr(3|
|00000e20| 34 29 20 26 20 22 3e 22 | 20 26 20 59 2e 44 61 74 |4) & ">"| & Y.Dat|
|00000e30| 65 4c 61 73 74 4d 6f 64 | 69 66 69 65 64 20 26 20 |eLastMod|ified & |
|00000e40| 22 3c 2f 74 64 3e 22 20 | 26 20 76 62 43 72 4c 66 |"</td>" |& vbCrLf|
|00000e50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 0d 0a 20 | | .. |
|00000e60| 20 27 61 6e 64 20 64 61 | 74 65 0d 0a 20 20 44 69 | 'and da|te.. Di|
|00000e70| 72 65 63 74 6f 72 79 4c | 69 73 74 69 6e 67 20 3d |rectoryL|isting =|
|00000e80| 20 44 69 72 65 63 74 6f | 72 79 4c 69 73 74 69 6e | Directo|ryListin|
|00000e90| 67 20 26 20 22 3c 2f 74 | 72 3e 22 20 26 20 76 62 |g & "</t|r>" & vb|
|00000ea0| 43 72 4c 66 0d 0a 20 4e | 65 78 74 0d 0a 20 53 65 |CrLf.. N|ext.. Se|
|00000eb0| 74 20 66 6f 6c 64 43 6f | 6c 20 3d 20 66 6f 6c 64 |t foldCo|l = fold|
|00000ec0| 2e 53 75 62 46 6f 6c 64 | 65 72 73 20 20 20 20 20 |.SubFold|ers |
|00000ed0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000ee0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 0d 0a 20 | | .. |
|00000ef0| 27 43 72 65 61 74 65 20 | 61 20 53 75 62 46 6f 6c |'Create |a SubFol|
|00000f00| 64 65 72 73 20 63 6f 6c | 6c 65 63 74 69 6f 6e 0d |ders col|lection.|
|00000f10| 0a 20 46 6f 72 20 45 61 | 63 68 20 59 20 69 6e 20 |. For Ea|ch Y in |
|00000f20| 66 6f 6c 64 43 6f 6c 20 | 20 20 20 20 20 20 20 20 |foldCol | |
|00000f30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000f40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000f50| 20 0d 0a 20 27 4e 6f 77 | 20 6c 65 74 73 20 69 74 | .. 'Now| lets it|
|00000f60| 65 72 61 74 65 20 74 68 | 72 6f 75 67 68 20 74 68 |erate th|rough th|
|00000f70| 65 20 66 6f 6c 64 65 72 | 20 63 6f 6c 6c 65 63 74 |e folder| collect|
|00000f80| 69 6f 6e 20 61 67 61 69 | 6e 0d 0a 20 20 20 66 6c |ion agai|n.. fl|
|00000f90| 61 67 20 3d 20 49 6e 53 | 74 72 28 59 2e 4e 61 6d |ag = InS|tr(Y.Nam|
|00000fa0| 65 2c 22 5f 76 74 69 5f | 22 29 0d 0a 20 20 20 69 |e,"_vti_|").. i|
|00000fb0| 66 20 66 6c 61 67 20 3d | 20 30 20 4f 72 20 66 6c |f flag =| 0 Or fl|
|00000fc0| 61 67 20 3d 20 4e 75 6c | 6c 20 54 68 65 6e 0d 0a |ag = Nul|l Then..|
|00000fd0| 20 20 20 20 20 20 20 20 | 20 44 69 72 65 63 74 6f | | Directo|
|00000fe0| 72 79 4c 69 73 74 69 6e | 67 20 3d 20 44 69 72 65 |ryListin|g = Dire|
|00000ff0| 63 74 6f 72 79 4c 69 73 | 74 69 6e 67 20 26 20 22 |ctoryLis|ting & "|
|00001000| 3c 74 64 20 77 69 64 74 | 68 3d 22 20 26 20 63 68 |<td widt|h=" & ch|
|00001010| 72 28 33 34 29 20 26 20 | 22 31 35 25 22 20 26 20 |r(34) & |"15%" & |
|00001020| 63 68 72 28 33 34 29 20 | 20 26 20 22 20 73 74 79 |chr(34) | & " sty|
|00001030| 6c 65 3d 22 26 20 63 68 | 72 28 33 34 29 20 26 20 |le="& ch|r(34) & |
|00001040| 22 66 6f 6e 74 2d 77 65 | 69 67 68 74 3a 20 62 6f |"font-we|ight: bo|
|00001050| 6c 64 3b 20 66 6f 6e 74 | 2d 66 61 6d 69 6c 79 3a |ld; font|-family:|
|00001060| 20 56 65 72 64 61 6e 61 | 2c 20 41 72 69 61 6c 3b | Verdana|, Arial;|
|00001070| 66 6f 6e 74 2d 73 69 7a | 65 3d 6e 6f 72 6d 61 6c |font-siz|e=normal|
|00001080| 3b 22 20 26 20 63 68 72 | 28 33 34 29 26 20 22 3e |;" & chr|(34)& ">|
|00001090| 20 3c 2f 74 64 3e 22 20 | 26 20 76 62 43 72 4c 66 | </td>" |& vbCrLf|
|000010a0| 20 20 0d 0a 09 09 20 27 | 50 72 69 6e 74 20 74 68 | .... '|Print th|
|000010b0| 65 20 63 75 72 72 65 6e | 74 20 66 6f 6c 64 65 72 |e curren|t folder|
|000010c0| 73 20 6e 61 6d 65 0d 0a | 20 20 20 20 20 20 20 20 |s name..| |
|000010d0| 20 44 69 72 65 63 74 6f | 72 79 4c 69 73 74 69 6e | Directo|ryListin|
|000010e0| 67 20 3d 20 44 69 72 65 | 63 74 6f 72 79 4c 69 73 |g = Dire|ctoryLis|
|000010f0| 74 69 6e 67 20 26 20 22 | 3c 74 64 20 77 69 64 74 |ting & "|<td widt|
|00001100| 68 3d 22 20 26 20 63 68 | 72 28 33 34 29 20 26 20 |h=" & ch|r(34) & |
|00001110| 22 34 35 25 22 20 26 20 | 63 68 72 28 33 34 29 20 |"45%" & |chr(34) |
|00001120| 26 20 22 20 3e 22 20 26 | 20 59 2e 4e 61 6d 65 20 |& " >" &| Y.Name |
|00001130| 26 22 20 3c 2f 74 64 3e | 20 3c 74 64 20 77 69 64 |&" </td>| <td wid|
|00001140| 74 68 3d 22 20 26 20 63 | 68 72 28 33 34 29 20 26 |th=" & c|hr(34) &|
|00001150| 20 22 34 30 25 22 20 26 | 20 63 68 72 28 33 34 29 | "40%" &| chr(34)|
|00001160| 20 26 20 22 20 3e 3c 2f | 74 64 3e 22 20 26 20 76 | & " ></|td>" & v|
|00001170| 62 43 72 4c 66 0d 0a 20 | 20 20 20 20 20 20 20 20 |bCrLf.. | |
|00001180| 44 69 72 65 63 74 6f 72 | 79 4c 69 73 74 69 6e 67 |Director|yListing|
|00001190| 20 3d 20 44 69 72 65 63 | 74 6f 72 79 4c 69 73 74 | = Direc|toryList|
|000011a0| 69 6e 67 20 26 20 22 3c | 2f 74 72 3e 22 20 26 20 |ing & "<|/tr>" & |
|000011b0| 76 62 43 72 4c 66 0d 0a | 20 20 20 44 69 72 65 63 |vbCrLf..| Direc|
|000011c0| 74 6f 72 79 4c 69 73 74 | 69 6e 67 20 3d 20 44 69 |toryList|ing = Di|
|000011d0| 72 65 63 74 6f 72 79 4c | 69 73 74 69 6e 67 20 26 |rectoryL|isting &|
|000011e0| 20 22 3c 74 72 3e 3c 74 | 64 3e 3c 2f 74 64 3e 3c | "<tr><t|d></td><|
|000011f0| 74 64 20 63 6f 6c 73 70 | 61 6e 3d 32 3e 22 20 26 |td colsp|an=2>" &|
|00001200| 20 76 62 43 72 4c 66 20 | 20 20 0d 0a 20 20 20 6e | vbCrLf | .. n|
|00001210| 65 77 56 69 72 74 75 61 | 6c 20 3d 20 76 69 72 74 |ewVirtua|l = virt|
|00001220| 75 61 6c 20 26 20 59 2e | 4e 61 6d 65 20 26 20 22 |ual & Y.|Name & "|
|00001230| 2f 22 0d 0a 20 20 69 6e | 74 6f 66 6f 6c 64 20 59 |/".. in|tofold Y|
|00001240| 2e 50 61 74 68 2c 6e 65 | 77 56 69 72 74 75 61 6c |.Path,ne|wVirtual|
|00001250| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001260| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001270| 20 20 20 20 0d 0a 20 20 | 27 54 68 69 73 20 74 69 | .. |'This ti|
|00001280| 6d 65 20 77 65 20 77 69 | 6c 6c 20 4a 75 6d 70 20 |me we wi|ll Jump |
|00001290| 69 6e 74 6f 20 74 68 69 | 73 20 73 61 6d 65 20 73 |into thi|s same s|
|000012a0| 75 62 20 70 61 73 73 69 | 6e 67 20 65 61 63 68 20 |ub passi|ng each |
|000012b0| 70 61 74 68 0d 0a 20 20 | 20 44 69 72 65 63 74 6f |path.. | Directo|
|000012c0| 72 79 4c 69 73 74 69 6e | 67 20 3d 20 44 69 72 65 |ryListin|g = Dire|
|000012d0| 63 74 6f 72 79 4c 69 73 | 74 69 6e 67 20 26 20 22 |ctoryLis|ting & "|
|000012e0| 3c 2f 74 64 3e 3c 2f 74 | 72 3e 22 20 26 20 76 62 |</td></t|r>" & vb|
|000012f0| 43 72 4c 66 0d 0a 20 20 | 45 6e 64 20 69 66 0d 0a |CrLf.. |End if..|
|00001300| 20 4e 65 78 74 0d 0a 20 | 44 69 72 65 63 74 6f 72 | Next.. |Director|
|00001310| 79 4c 69 73 74 69 6e 67 | 20 3d 20 44 69 72 65 63 |yListing| = Direc|
|00001320| 74 6f 72 79 4c 69 73 74 | 69 6e 67 20 26 20 22 3c |toryList|ing & "<|
|00001330| 2f 74 61 62 6c 65 3e 22 | 20 26 20 76 62 43 72 4c |/table>"| & vbCrL|
|00001340| 66 0d 0a 65 6e 64 20 73 | 75 62 0d 0a 0d 0a 27 74 |f..end s|ub....'t|
|00001350| 68 65 20 6c 69 73 74 20 | 6f 66 20 66 69 6c 65 73 |he list |of files|
|00001360| 20 61 73 20 66 6f 6c 6c | 6f 77 73 3a 0d 0a 53 65 | as foll|ows:..Se|
|00001370| 74 20 66 69 6c 65 53 59 | 53 4f 62 6a 20 3d 20 43 |t fileSY|SObj = C|
|00001380| 72 65 61 74 65 4f 62 6a | 65 63 74 28 22 53 63 72 |reateObj|ect("Scr|
|00001390| 69 70 74 69 6e 67 2e 46 | 69 6c 65 53 79 73 74 65 |ipting.F|ileSyste|
|000013a0| 6d 4f 62 6a 65 63 74 22 | 29 20 20 20 20 0d 0a 27 |mObject"|) ..'|
|000013b0| 43 72 65 61 74 65 20 74 | 68 65 20 46 69 6c 65 53 |Create t|he FileS|
|000013c0| 79 73 74 65 6d 4f 62 6a | 65 63 74 0d 0a 69 6e 74 |ystemObj|ect..int|
|000013d0| 6f 46 6f 6c 64 20 5b 6c | 6f 63 61 6c 70 61 74 68 |oFold [l|ocalpath|
|000013e0| 5d 2c 20 5b 76 69 72 74 | 75 61 6c 70 61 74 68 5d |], [virt|ualpath]|
|000013f0| 0d 0a 0d 0a 53 65 73 73 | 69 6f 6e 28 22 44 69 72 |....Sess|ion("Dir|
|00001400| 65 63 74 6f 72 79 4c 69 | 73 74 69 6e 67 22 29 3d |ectoryLi|sting")=|
|00001410| 44 69 72 65 63 74 6f 72 | 79 4c 69 73 74 69 6e 67 |Director|yListing|
|00001420| 0d 0a 3c 2f 73 63 72 69 | 70 74 3e 0d 0a 0d 0a 0d |..</scri|pt>.....|
|00001430| 0a 3c 25 01 00 00 00 ff | 54 0a 44 69 72 65 63 74 |.<%.....|T.Direct|
|00001440| 6f 72 79 4c 69 73 74 69 | 6e 67 20 3d 20 28 22 22 |oryListi|ng = (""|
|00001450| 29 20 0d 0a 50 52 49 56 | 41 54 45 20 73 75 62 20 |) ..PRIV|ATE sub |
|00001460| 69 6e 74 6f 46 6f 6c 64 | 28 6e 65 77 66 6f 6c 64 |intoFold|(newfold|
|00001470| 2c 76 69 72 74 75 61 6c | 29 0d 0a 0d 0a 20 27 4f |,virtual|).... 'O|
|00001480| 6e 20 45 72 72 6f 72 20 | 52 65 73 75 6d 65 20 4e |n Error |Resume N|
|00001490| 65 78 74 0d 0a 20 73 65 | 74 20 66 6f 6c 64 20 3d |ext.. se|t fold =|
|000014a0| 20 66 69 6c 65 53 59 53 | 4f 62 6a 2e 47 65 74 46 | fileSYS|Obj.GetF|
|000014b0| 6f 6c 64 65 72 28 6e 65 | 77 66 6f 6c 64 29 20 20 |older(ne|wfold) |
|000014c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000014d0| 20 20 20 20 20 0d 0a 20 | 27 47 65 74 20 74 68 65 | .. |'Get the|
|000014e0| 20 66 6f 6c 64 65 72 20 | 6f 62 6a 65 63 74 0d 0a | folder |object..|
|000014f0| 20 44 69 72 65 63 74 6f | 72 79 4c 69 73 74 69 6e | Directo|ryListin|
|00001500| 67 20 3d 20 44 69 72 65 | 63 74 6f 72 79 4c 69 73 |g = Dire|ctoryLis|
|00001510| 74 69 6e 67 20 26 20 22 | 3c 74 61 62 6c 65 20 62 |ting & "|<table b|
|00001520| 6f 72 64 65 72 3d 30 20 | 43 45 4c 4c 53 50 41 43 |order=0 |CELLSPAC|
|00001530| 49 4e 47 3d 30 20 77 69 | 64 74 68 3d 22 20 26 20 |ING=0 wi|dth=" & |
|00001540| 63 68 72 28 33 34 29 20 | 26 20 22 31 30 30 25 22 |chr(34) |& "100%"|
|00001550| 20 26 20 63 68 72 28 33 | 34 29 20 26 20 20 22 20 | & chr(3|4) & " |
|00001560| 53 54 59 4c 45 3d 22 20 | 26 20 63 68 72 28 33 34 |STYLE=" |& chr(34|
|00001570| 29 20 26 20 22 66 6f 6e | 74 2d 66 61 6d 69 6c 79 |) & "fon|t-family|
|00001580| 3a 20 56 65 72 64 61 6e | 61 2c 20 41 72 69 61 6c |: Verdan|a, Arial|
|00001590| 3b 20 66 6f 6e 74 2d 73 | 69 7a 65 3d 78 2d 73 6d |; font-s|ize=x-sm|
|000015a0| 61 6c 6c 22 20 26 20 63 | 68 72 28 33 34 29 20 26 |all" & c|hr(34) &|
|000015b0| 20 22 20 3e 22 20 26 20 | 76 62 43 72 4c 66 0d 0a | " >" & |vbCrLf..|
|000015c0| 0d 0a 20 53 65 74 20 66 | 6f 6c 64 43 6f 6c 32 20 |.. Set f|oldCol2 |
|000015d0| 3d 20 66 6f 6c 64 2e 46 | 69 6c 65 73 20 20 20 20 |= fold.F|iles |
|000015e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000015f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001600| 20 20 0d 0a 20 27 43 72 | 65 61 74 65 20 61 20 46 | .. 'Cr|eate a F|
|00001610| 69 6c 65 73 20 63 6f 6c | 6c 65 63 74 69 6f 6e 0d |iles col|lection.|
|00001620| 0a 20 46 6f 72 20 45 61 | 63 68 20 59 20 69 6e 20 |. For Ea|ch Y in |
|00001630| 66 6f 6c 64 43 6f 6c 32 | 20 20 20 20 20 20 20 20 |foldCol2| |
|00001640| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001650| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001660| 20 0d 0a 20 27 49 74 65 | 72 61 74 65 20 74 68 72 | .. 'Ite|rate thr|
|00001670| 6f 75 67 68 20 69 74 0d | 0a 20 20 44 69 72 65 63 |ough it.|. Direc|
|00001680| 74 6f 72 79 4c 69 73 74 | 69 6e 67 20 3d 20 44 69 |toryList|ing = Di|
|00001690| 72 65 63 74 6f 72 79 4c | 69 73 74 69 6e 67 20 26 |rectoryL|isting &|
|000016a0| 20 22 3c 74 72 3e 22 20 | 20 26 20 76 62 43 72 4c | "<tr>" | & vbCrL|
|000016b0| 66 0d 0a 20 20 44 69 72 | 65 63 74 6f 72 79 4c 69 |f.. Dir|ectoryLi|
|000016c0| 73 74 69 6e 67 20 3d 20 | 44 69 72 65 63 74 6f 72 |sting = |Director|
|000016d0| 79 4c 69 73 74 69 6e 67 | 20 26 20 22 3c 74 64 20 |yListing| & "<td |
|000016e0| 77 69 64 74 68 3d 22 20 | 26 20 63 68 72 28 33 34 |width=" |& chr(34|
|000016f0| 29 20 26 20 22 31 35 25 | 22 20 26 20 63 68 72 28 |) & "15%|" & chr(|
|00001700| 33 34 29 20 26 20 22 3e | 3c 2f 74 64 3e 22 20 26 |34) & ">|</td>" &|
|00001710| 20 76 62 43 72 4c 66 0d | 0a 20 20 44 69 72 65 63 | vbCrLf.|. Direc|
|00001720| 74 6f 72 79 4c 69 73 74 | 69 6e 67 20 3d 20 44 69 |toryList|ing = Di|
|00001730| 72 65 63 74 6f 72 79 4c | 69 73 74 69 6e 67 20 26 |rectoryL|isting &|
|00001740| 20 22 3c 74 64 20 77 69 | 64 74 68 3d 22 20 26 20 | "<td wi|dth=" & |
|00001750| 63 68 72 28 33 34 29 20 | 26 20 22 34 35 25 22 20 |chr(34) |& "45%" |
|00001760| 26 20 63 68 72 28 33 34 | 29 20 26 20 22 20 3e 3c |& chr(34|) & " ><|
|00001770| 41 20 48 52 45 46 3d 22 | 20 26 20 63 68 72 28 33 |A HREF="| & chr(3|
|00001780| 34 29 20 26 20 20 76 69 | 72 74 75 61 6c 20 26 20 |4) & vi|rtual & |
|00001790| 59 2e 4e 61 6d 65 20 26 | 20 63 68 72 28 33 34 29 |Y.Name &| chr(34)|
|000017a0| 20 26 20 22 3e 22 20 26 | 20 59 2e 4e 61 6d 65 20 | & ">" &| Y.Name |
|000017b0| 26 20 22 3c 2f 61 3e 20 | 3c 2f 74 64 3e 22 20 26 |& "</a> |</td>" &|
|000017c0| 20 76 62 43 72 4c 66 20 | 20 20 20 20 20 20 20 20 | vbCrLf | |
|000017d0| 20 0d 0a 20 20 27 50 72 | 69 6e 74 20 74 68 65 20 | .. 'Pr|int the |
|000017e0| 66 69 6c 65 73 20 6e 61 | 6d 65 0d 0a 20 20 44 69 |files na|me.. Di|
|000017f0| 72 65 63 74 6f 72 79 4c | 69 73 74 69 6e 67 20 3d |rectoryL|isting =|
|00001800| 20 44 69 72 65 63 74 6f | 72 79 4c 69 73 74 69 6e | Directo|ryListin|
|00001810| 67 20 26 20 22 3c 74 64 | 20 77 69 64 74 68 3d 22 |g & "<td| width="|
|00001820| 20 26 20 63 68 72 28 33 | 34 29 20 26 20 22 34 30 | & chr(3|4) & "40|
|00001830| 25 22 20 26 20 63 68 72 | 28 33 34 29 20 26 20 22 |%" & chr|(34) & "|
|00001840| 20 53 54 59 4c 45 3d 22 | 20 26 20 63 68 72 28 33 | STYLE="| & chr(3|
|00001850| 34 29 20 26 20 22 66 6f | 6e 74 2d 66 61 6d 69 6c |4) & "fo|nt-famil|
|00001860| 79 3a 20 56 65 72 64 61 | 6e 61 2c 20 41 72 69 61 |y: Verda|na, Aria|
|00001870| 6c 3b 20 66 6f 6e 74 2d | 73 69 7a 65 3d 78 78 2d |l; font-|size=xx-|
|00001880| 73 6d 61 6c 6c 22 20 26 | 20 63 68 72 28 33 34 29 |small" &| chr(34)|
|00001890| 20 26 20 22 3e 22 20 26 | 20 59 2e 44 61 74 65 4c | & ">" &| Y.DateL|
|000018a0| 61 73 74 4d 6f 64 69 66 | 69 65 64 20 26 20 22 3c |astModif|ied & "<|
|000018b0| 2f 74 64 3e 22 20 26 20 | 76 62 43 72 4c 66 20 20 |/td>" & |vbCrLf |
|000018c0| 20 20 20 20 20 20 20 20 | 20 20 20 0d 0a 20 20 27 | | .. '|
|000018d0| 61 6e 64 20 64 61 74 65 | 0d 0a 20 20 44 69 72 65 |and date|.. Dire|
|000018e0| 63 74 6f 72 79 4c 69 73 | 74 69 6e 67 20 3d 20 44 |ctoryLis|ting = D|
|000018f0| 69 72 65 63 74 6f 72 79 | 4c 69 73 74 69 6e 67 20 |irectory|Listing |
|00001900| 26 20 22 3c 2f 74 72 3e | 22 20 26 20 76 62 43 72 |& "</tr>|" & vbCr|
|00001910| 4c 66 0d 0a 20 4e 65 78 | 74 0d 0a 20 53 65 74 20 |Lf.. Nex|t.. Set |
|00001920| 66 6f 6c 64 43 6f 6c 20 | 3d 20 66 6f 6c 64 2e 53 |foldCol |= fold.S|
|00001930| 75 62 46 6f 6c 64 65 72 | 73 20 20 20 20 20 20 20 |ubFolder|s |
|00001940| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001950| 20 20 20 20 20 20 20 20 | 20 20 20 0d 0a 20 27 43 | | .. 'C|
|00001960| 72 65 61 74 65 20 61 20 | 53 75 62 46 6f 6c 64 65 |reate a |SubFolde|
|00001970| 72 73 20 63 6f 6c 6c 65 | 63 74 69 6f 6e 0d 0a 20 |rs colle|ction.. |
|00001980| 46 6f 72 20 45 61 63 68 | 20 59 20 69 6e 20 66 6f |For Each| Y in fo|
|00001990| 6c 64 43 6f 6c 20 20 20 | 20 20 20 20 20 20 20 20 |ldCol | |
|000019a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000019b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 0d | | .|
|000019c0| 0a 20 27 4e 6f 77 20 6c | 65 74 73 20 69 74 65 72 |. 'Now l|ets iter|
|000019d0| 61 74 65 20 74 68 72 6f | 75 67 68 20 74 68 65 20 |ate thro|ugh the |
|000019e0| 66 6f 6c 64 65 72 20 63 | 6f 6c 6c 65 63 74 69 6f |folder c|ollectio|
|000019f0| 6e 20 61 67 61 69 6e 0d | 0a 20 20 20 66 6c 61 67 |n again.|. flag|
|00001a00| 20 3d 20 49 6e 53 74 72 | 28 59 2e 4e 61 6d 65 2c | = InStr|(Y.Name,|
|00001a10| 22 5f 76 74 69 5f 22 29 | 0d 0a 20 20 20 69 66 20 |"_vti_")|.. if |
|00001a20| 66 6c 61 67 20 3d 20 30 | 20 4f 72 20 66 6c 61 67 |flag = 0| Or flag|
|00001a30| 20 3d 20 4e 75 6c 6c 20 | 54 68 65 6e 0d 0a 20 20 | = Null |Then.. |
|00001a40| 20 20 20 20 20 20 20 44 | 69 72 65 63 74 6f 72 79 | D|irectory|
|00001a50| 4c 69 73 74 69 6e 67 20 | 3d 20 44 69 72 65 63 74 |Listing |= Direct|
|00001a60| 6f 72 79 4c 69 73 74 69 | 6e 67 20 26 20 22 3c 74 |oryListi|ng & "<t|
|00001a70| 64 20 77 69 64 74 68 3d | 22 20 26 20 63 68 72 28 |d width=|" & chr(|
|00001a80| 33 34 29 20 26 20 22 31 | 35 25 22 20 26 20 63 68 |34) & "1|5%" & ch|
|00001a90| 72 28 33 34 29 20 20 26 | 20 22 20 73 74 79 6c 65 |r(34) &| " style|
|00001aa0| 3d 22 26 20 63 68 72 28 | 33 34 29 20 26 20 22 66 |="& chr(|34) & "f|
|00001ab0| 6f 6e 74 2d 77 65 69 67 | 68 74 3a 20 62 6f 6c 64 |ont-weig|ht: bold|
|00001ac0| 3b 20 66 6f 6e 74 2d 66 | 61 6d 69 6c 79 3a 20 56 |; font-f|amily: V|
|00001ad0| 65 72 64 61 6e 61 2c 20 | 41 72 69 61 6c 3b 66 6f |erdana, |Arial;fo|
|00001ae0| 6e 74 2d 73 69 7a 65 3d | 6e 6f 72 6d 61 6c 3b 22 |nt-size=|normal;"|
|00001af0| 20 26 20 63 68 72 28 33 | 34 29 26 20 22 3e 20 3c | & chr(3|4)& "> <|
|00001b00| 2f 74 64 3e 22 20 26 20 | 76 62 43 72 4c 66 20 20 |/td>" & |vbCrLf |
|00001b10| 0d 0a 09 09 20 27 50 72 | 69 6e 74 20 74 68 65 20 |.... 'Pr|int the |
|00001b20| 63 75 72 72 65 6e 74 20 | 66 6f 6c 64 65 72 73 20 |current |folders |
|00001b30| 6e 61 6d 65 0d 0a 20 20 | 20 20 20 20 20 20 20 44 |name.. | D|
|00001b40| 69 72 65 63 74 6f 72 79 | 4c 69 73 74 69 6e 67 20 |irectory|Listing |
|00001b50| 3d 20 44 69 72 65 63 74 | 6f 72 79 4c 69 73 74 69 |= Direct|oryListi|
|00001b60| 6e 67 20 26 20 22 3c 74 | 64 20 77 69 64 74 68 3d |ng & "<t|d width=|
|00001b70| 22 20 26 20 63 68 72 28 | 33 34 29 20 26 20 22 34 |" & chr(|34) & "4|
|00001b80| 35 25 22 20 26 20 63 68 | 72 28 33 34 29 20 26 20 |5%" & ch|r(34) & |
|00001b90| 22 20 3e 22 20 26 20 59 | 2e 4e 61 6d 65 20 26 22 |" >" & Y|.Name &"|
|00001ba0| 20 3c 2f 74 64 3e 20 3c | 74 64 20 77 69 64 74 68 | </td> <|td width|
|00001bb0| 3d 22 20 26 20 63 68 72 | 28 33 34 29 20 26 20 22 |=" & chr|(34) & "|
|00001bc0| 34 30 25 22 20 26 20 63 | 68 72 28 33 34 29 20 26 |40%" & c|hr(34) &|
|00001bd0| 20 22 20 3e 3c 2f 74 64 | 3e 22 20 26 20 76 62 43 | " ></td|>" & vbC|
|00001be0| 72 4c 66 0d 0a 20 20 20 | 20 20 20 20 20 20 44 69 |rLf.. | Di|
|00001bf0| 72 65 63 74 6f 72 79 4c | 69 73 74 69 6e 67 20 3d |rectoryL|isting =|
|00001c00| 20 44 69 72 65 63 74 6f | 72 79 4c 69 73 74 69 6e | Directo|ryListin|
|00001c10| 67 20 26 20 22 3c 2f 74 | 72 3e 22 20 26 20 76 62 |g & "</t|r>" & vb|
|00001c20| 43 72 4c 66 0d 0a 20 20 | 20 44 69 72 65 63 74 6f |CrLf.. | Directo|
|00001c30| 72 79 4c 69 73 74 69 6e | 67 20 3d 20 44 69 72 65 |ryListin|g = Dire|
|00001c40| 63 74 6f 72 79 4c 69 73 | 74 69 6e 67 20 26 20 22 |ctoryLis|ting & "|
|00001c50| 3c 74 72 3e 3c 74 64 3e | 3c 2f 74 64 3e 3c 74 64 |<tr><td>|</td><td|
|00001c60| 20 63 6f 6c 73 70 61 6e | 3d 32 3e 22 20 26 20 76 | colspan|=2>" & v|
|00001c70| 62 43 72 4c 66 20 20 20 | 0d 0a 20 20 20 6e 65 77 |bCrLf |.. new|
|00001c80| 56 69 72 74 75 61 6c 20 | 3d 20 76 69 72 74 75 61 |Virtual |= virtua|
|00001c90| 6c 20 26 20 59 2e 4e 61 | 6d 65 20 26 20 22 2f 22 |l & Y.Na|me & "/"|
|00001ca0| 0d 0a 20 20 69 6e 74 6f | 66 6f 6c 64 20 59 2e 50 |.. into|fold Y.P|
|00001cb0| 61 74 68 2c 6e 65 77 56 | 69 72 74 75 61 6c 20 20 |ath,newV|irtual |
|00001cc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001cd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001ce0| 20 20 0d 0a 20 20 27 54 | 68 69 73 20 74 69 6d 65 | .. 'T|his time|
|00001cf0| 20 77 65 20 77 69 6c 6c | 20 4a 75 6d 70 20 69 6e | we will| Jump in|
|00001d00| 74 6f 20 74 68 69 73 20 | 73 61 6d 65 20 73 75 62 |to this |same sub|
|00001d10| 20 70 61 73 73 69 6e 67 | 20 65 61 63 68 20 70 61 | passing| each pa|
|00001d20| 74 68 0d 0a 20 20 20 44 | 69 72 65 63 74 6f 72 79 |th.. D|irectory|
|00001d30| 4c 69 73 74 69 6e 67 20 | 3d 20 44 69 72 65 63 74 |Listing |= Direct|
|00001d40| 6f 72 79 4c 69 73 74 69 | 6e 67 20 26 20 22 3c 2f |oryListi|ng & "</|
|00001d50| 74 64 3e 3c 2f 74 72 3e | 22 20 26 20 76 62 43 72 |td></tr>|" & vbCr|
|00001d60| 4c 66 0d 0a 20 20 45 6e | 64 20 69 66 0d 0a 20 4e |Lf.. En|d if.. N|
|00001d70| 65 78 74 0d 0a 20 44 69 | 72 65 63 74 6f 72 79 4c |ext.. Di|rectoryL|
|00001d80| 69 73 74 69 6e 67 20 3d | 20 44 69 72 65 63 74 6f |isting =| Directo|
|00001d90| 72 79 4c 69 73 74 69 6e | 67 20 26 20 22 3c 2f 74 |ryListin|g & "</t|
|00001da0| 61 62 6c 65 3e 22 20 26 | 20 76 62 43 72 4c 66 0d |able>" &| vbCrLf.|
|00001db0| 0a 65 6e 64 20 73 75 62 | 0d 0a 0d 0a 27 74 68 65 |.end sub|....'the|
|00001dc0| 20 6c 69 73 74 20 6f 66 | 20 66 69 6c 65 73 20 61 | list of| files a|
|00001dd0| 73 20 66 6f 6c 6c 6f 77 | 73 3a 0d 0a 53 65 74 20 |s follow|s:..Set |
|00001de0| 66 69 6c 65 53 59 53 4f | 62 6a 20 3d 20 43 72 65 |fileSYSO|bj = Cre|
|00001df0| 61 74 65 4f 62 6a 65 63 | 74 28 22 53 63 72 69 70 |ateObjec|t("Scrip|
|00001e00| 74 69 6e 67 2e 46 69 6c | 65 53 79 73 74 65 6d 4f |ting.Fil|eSystemO|
|00001e10| 62 6a 65 63 74 22 29 20 | 20 20 20 0d 0a 27 43 72 |bject") | ..'Cr|
|00001e20| 65 61 74 65 20 74 68 65 | 20 46 69 6c 65 53 79 73 |eate the| FileSys|
|00001e30| 74 65 6d 4f 62 6a 65 63 | 74 0d 0a 69 6e 74 6f 46 |temObjec|t..intoF|
|00001e40| 6f 6c 64 20 5b 6c 6f 63 | 61 6c 70 61 74 68 5d 2c |old [loc|alpath],|
|00001e50| 20 5b 76 69 72 74 75 61 | 6c 70 61 74 68 5d 0d 0a | [virtua|lpath]..|
|00001e60| 0d 0a 53 65 73 73 69 6f | 6e 28 22 44 69 72 65 63 |..Sessio|n("Direc|
|00001e70| 74 6f 72 79 4c 69 73 74 | 69 6e 67 22 29 3d 44 69 |toryList|ing")=Di|
|00001e80| 72 65 63 74 6f 72 79 4c | 69 73 74 69 6e 67 08 80 |rectoryL|isting..|
|00001e90| 04 00 00 00 06 6f 6e 4c | 6f 61 64 01 00 00 00 00 |.....onL|oad.....|
|00001ea0| 00 00 00 00 08 80 04 00 | 00 00 06 6f 6e 42 6c 75 |........|...onBlu|
|00001eb0| 72 01 00 00 00 00 00 00 | 00 00 aa e6 31 fa 41 44 |r.......|....1.AD|
|00001ec0| d2 11 80 47 00 60 08 d0 | 5a 6a 01 00 00 00 24 33 |...G.`..|Zj....$3|
|00001ed0| 37 37 41 43 34 33 30 2d | 36 32 31 31 2d 31 31 44 |77AC430-|6211-11D|
|00001ee0| 32 2d 38 31 31 37 2d 30 | 30 36 30 30 38 43 38 36 |2-8117-0|06008C86|
|00001ef0| 43 32 35 03 33 2e 30 ff | 6f 02 44 65 73 63 72 69 |C25.3.0.|o.Descri|
|00001f00| 70 74 69 6f 6e 3a 0d 0a | 57 69 6c 6c 20 72 65 70 |ption:..|Will rep|
|00001f10| 6c 61 63 65 20 61 20 76 | 61 72 69 61 62 6c 65 20 |lace a v|ariable |
|00001f20| 28 74 6f 6b 65 6e 29 20 | 74 68 61 74 20 61 70 70 |(token) |that app|
|00001f30| 65 61 72 73 20 69 6e 20 | 61 6e 79 20 65 6c 65 6d |ears in |any elem|
|00001f40| 65 6e 74 20 77 69 74 68 | 20 61 20 6c 69 73 74 69 |ent with| a listi|
|00001f50| 6e 67 20 6f 66 20 74 68 | 65 20 63 6f 6e 74 65 6e |ng of th|e conten|
|00001f60| 74 73 20 6f 66 20 61 20 | 73 70 65 63 69 66 69 63 |ts of a |specific|
|00001f70| 20 64 69 72 65 63 74 6f | 72 79 20 64 65 73 69 67 | directo|ry desig|
|00001f80| 6e 61 74 65 64 20 77 68 | 65 6e 20 74 68 65 20 63 |nated wh|en the c|
|00001f90| 6f 6e 74 72 61 63 74 20 | 69 73 20 61 70 70 6c 69 |ontract |is appli|
|00001fa0| 65 64 2e 0d 0a 0d 0a 50 | 61 72 61 6d 65 74 65 72 |ed.....P|arameter|
|00001fb0| 73 3a 0d 0a 6c 6f 63 61 | 6c 20 70 61 74 68 20 2d |s:..loca|l path -|
|00001fc0| 20 66 75 6c 6c 20 70 61 | 74 68 20 74 6f 20 74 68 | full pa|th to th|
|00001fd0| 65 20 64 65 73 69 72 65 | 64 20 64 69 72 65 63 74 |e desire|d direct|
|00001fe0| 6f 72 79 0d 0a 72 65 6c | 61 74 69 76 65 20 70 61 |ory..rel|ative pa|
|00001ff0| 74 68 20 2d 20 72 65 6c | 61 74 69 76 65 20 70 61 |th - rel|ative pa|
|00002000| 74 68 20 74 6f 20 74 68 | 65 20 64 65 73 69 72 65 |th to th|e desire|
|00002010| 64 20 64 69 72 65 63 74 | 6f 72 79 20 66 72 6f 6d |d direct|ory from|
|00002020| 20 74 68 65 20 77 77 77 | 72 6f 6f 74 0d 0a 74 6f | the www|root..to|
|00002030| 6b 65 6e 20 2d 20 76 61 | 72 69 61 62 6c 65 20 6e |ken - va|riable n|
|00002040| 61 6d 65 20 74 6f 20 62 | 65 20 72 65 70 6c 61 63 |ame to b|e replac|
|00002050| 65 64 20 28 74 68 69 73 | 20 76 61 72 69 61 62 6c |ed (this| variabl|
|00002060| 65 20 6d 75 73 74 20 61 | 70 70 65 61 72 20 69 6e |e must a|ppear in|
|00002070| 20 5b 73 6f 75 72 63 65 | 5d 29 0d 0a 0d 0a 54 79 | [source|])....Ty|
|00002080| 70 69 63 61 6c 20 50 61 | 72 74 69 63 69 70 61 6e |pical Pa|rticipan|
|00002090| 74 73 3a 0d 0a 5b 73 6f | 75 72 63 65 5d 20 2d 20 |ts:..[so|urce] - |
|000020a0| 74 65 78 74 20 62 6f 78 | 2c 20 65 64 69 74 20 62 |text box|, edit b|
|000020b0| 6f 78 2c 20 65 74 63 2e | 0d 0a 0d 0a 0d 0a 46 6f |ox, etc.|......Fo|
|000020c0| 72 20 6d 6f 72 65 20 69 | 6e 66 6f 72 6d 61 74 69 |r more i|nformati|
|000020d0| 6f 6e 20 6f 6e 20 63 6f | 6e 74 72 61 63 74 73 20 |on on co|ntracts |
|000020e0| 6f 66 20 74 68 69 73 20 | 63 61 74 65 67 6f 72 79 |of this |category|
|000020f0| 2c 20 70 6c 65 61 73 65 | 20 72 65 66 65 72 20 74 |, please| refer t|
|00002100| 6f 20 46 69 6c 65 53 63 | 72 69 70 74 69 6e 67 2e |o FileSc|ripting.|
|00002110| 64 6f 63 0d 0a 0d 0a 54 | 68 69 73 20 66 69 6c 65 |doc....T|his file|
|00002120| 20 69 73 20 61 76 61 69 | 6c 61 62 6c 65 20 69 6e | is avai|lable in|
|00002130| 20 74 68 65 20 43 6f 6e | 74 72 61 63 74 73 20 66 | the Con|tracts f|
|00002140| 6f 6c 64 65 72 20 69 6e | 20 74 68 65 20 44 72 75 |older in| the Dru|
|00002150| 6d 62 65 61 74 20 64 69 | 72 65 63 74 6f 72 79 2e |mbeat di|rectory.|
|00002160| 0d 0a 56 31 30 5f 33 30 | 2e |..V10_30|. |
+--------+-------------------------+-------------------------+--------+--------+